import { createRouter, createWebHistory } from 'vue-router'
import Layout from '../layout/Layout.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
      {
        path: '/layout',
        name: 'Layout',
        component:Layout
      },
      {
          path: '/login',
          name: 'login',
          component: () => import('../views/Login.vue'),
      },
      {
          path: '/register',
          name: 'register',
          component: () => import('../views/Register.vue'),
      },

  ]
})

export default router
